import { waitObject } from "../wait";

export function getCodeMirror() {
    return document.querySelector(".CodeMirror")?.CodeMirror;
}

export async function waitCodeMirror(timeout) {
    return waitObject(getCodeMirror, timeout);
}
